package com.ly.oa.service.admin.impl;

import java.util.Date;

import com.ly.core.service.impl.BaseServiceImpl;
import com.ly.oa.dao.admin.DepreRecordDao;
import com.ly.oa.model.admin.DepreRecord;
import com.ly.oa.service.admin.DepreRecordService;

public class DepreRecordServiceImpl extends BaseServiceImpl<DepreRecord> implements DepreRecordService{
	private DepreRecordDao dao;
	
	public DepreRecordServiceImpl(DepreRecordDao dao) {
		super(dao);
		this.dao=dao;
	}

	@Override
	public Date findMaxDate(Long assetsId) {
		return dao.findMaxDate(assetsId);
	}

}